<script setup>
import AsideMenu from "@/components/admin/AsideMenu.vue"
import { RouterView } from "vue-router"
import HeaderCom from "@/components/admin/HeaderCom.vue"

</script>

<template>
  <div class="admin">
    <el-container>
      <el-aside width="auto">
        <AsideMenu></AsideMenu>
      </el-aside>
      <el-container>
        <el-header>
          <HeaderCom></HeaderCom>
        </el-header>
        <el-main>Main<RouterView></RouterView></el-main>
      </el-container>
    </el-container>
  </div>
</template>
<style lang="less">
.asidemenu {
  height: 100vh;
  background-color: #545c64;
}

.el-header {
  height: auto;
}
</style>